package com.atguigu.d_switch;

public class Test1 {
    public static void main(String[] args) {
        //键盘录入
        int year = 2023;

        int num = year % 12;

        switch (num){
            case 6:
                System.out.println(year + "年是虎年");
                break;
        }
    }
}
